
src1 = ['CREATE', 'SELECT', 'FROM', 'SELECT']

print(src1.count("SELECT"))
print('{list[0]}'.format(list=src1))

a = "a.t as 'd', /**/"
print(a.split("/*")[1])
print(len(a.split("/*")))


s = "a.t as 'e', /*dd*/"
list1 = s.split()
print(list1)
b = '  {list[0]} {list[1]} {list[2]} {list[3]:>40}'.format(list=list1)
print(b)
